<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>iptables</Name>
        <Homepage>http://www.iptables.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Firewall, NAT and packet mangling tools</Summary>
        <Description>Contains iptables firewall, NAT and packet mangling tools.</Description>
        <Archive sha1sum="b2592490ca7a6c2cd0f069e167a4337c86acdf91" type="tarbz2">ftp://ftp.netfilter.org/pub/iptables/iptables-1.6.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libnfnetlink-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- these got in
            <Patch>iptables-1.4.2-as-needed.patch</Patch>
            <Patch>iptables-1.4.2-no-ldconfig.patch</Patch>
            -->
            <!--<Patch>iptables-1.4.2-glibc.patch</Patch>-->
        </Patches>
    </Source>

    <Package>
        <Name>iptables</Name>
        <RuntimeDependencies>
            <Dependency>libnfnetlink</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/sbin</Path>
            <Path fileType="library">/lib</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/var</Path>
            <Path fileType="data">/usr/share/xtables</Path>
        </Files>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="firewall.py">Network.Firewall</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>iptables-devel</Name>
        <Summary>Development files for iptables</Summary>
        <RuntimeDependencies>
            <Dependency release="current">iptables</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/*.a</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>1.6.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-20</Date>
            <Version>1.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
